package com.ruoyi.client.service;

import com.ruoyi.client.domain.Address;
import com.ruoyi.client.pojo.vo.AddressVo;

import java.util.List;

/**
 * @Author：HuaQP
 * @Date：2024/5/5
 */
public interface IAddressService {
    List<AddressVo> list(Long userId);

    boolean save(Address address);

    AddressVo selectById(Long id);

    boolean delete(Long id);

    AddressVo getDefault(Long userId,Long id);
}
